package com.example.androidproject.online.pojo;

public class ChatInfo {
    private int identity;
    //0,1:自己，对方消息;2,3:自己对方文件
    private String message;
    //文件
    private String fileName;
    private int progress=0;

    public ChatInfo(int identity, String message) {
        this.identity = identity;
        this.message = message;
    }

    public ChatInfo(String fileName, int identity) {
        this.fileName = fileName;
        this.identity = identity;
    }

    public int getIdentity() {
        return identity;
    }

    public void setIdentity(int identity) {
        this.identity = identity;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }
}
